#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
class Time
{
public:
	Time(int hour = 1)
		:_hour(hour)
	{
		cout << "Time()" << endl;
	}
private:
	int _hour;
};
class Date
{
public:
	Date(int year = 1, int month = 1, int day = 1)
		:_year(year)
		,_month(month)
		,_day(day)
		//,_ref(x)
		,_n(1)
	{}
	void Print()
	{
		cout << "Print" << endl;
	}
private:
	int _year;
	int _month;
	int _day;
	Time _t;
	//int& _ref;
	const int _n;
};
int main()
{
	Date().Print();
	Date a = { 1,2,3 };

	return 0;
}